package edu.sctu.practice.class02.zengguangchuan.test07;

/**
 * Created by lenovo0 on 2015/10/15.
 */
public class WuMingFen {
    public String theMa;
    public int quantity;
    public boolean likeSoup;

    public  WuMingFen(String theMa ,int quantity){
        this.theMa=theMa;
        this.quantity=quantity;
    }

    public  WuMingFen(String theMa ,int quantity,boolean likeSoup){
        this.theMa=theMa;
        this.quantity=quantity;
        this.likeSoup=likeSoup;
    }

    public void check(){
        System.out.println("面码："+theMa+"");
        System.out.println("粉的分量："+quantity+"");
        System.out.println("是否带汤："+likeSoup+"");
    }
}
